Component({
    properties: {
        item: {
            type: Object,
            value: {}
        }
    },
    data: {},
    attached: function() {
        console.log("goodssss", this.data.item);
    },
    methods: {
        toGood: function() {
            var t = this.data.item;
            t.content.id && wx.navigateTo({
                url: "/packageA/detail_v2/detail_v2?id=" + t.content.id
            });
        }
    }
});